export const formCols = [
  {prop: 'title', label: '课程标题', type: 'input', required: true},
  {prop: 'subject', label: '课程分类', type: 'select2', required: true},
  {prop: 'teacherId', label: '课程讲师', type: 'select', required: true},
  {prop: 'lessonNum', label: '总课时', type: 'number', required: true},
  {prop: 'description', label: '课程简介', type: 'markdown', required: true},
  {prop: 'price', label: '课程价格', type: 'number', required: true},
  {prop: 'cover', label: '课程封面', type: 'image', required: true}
]

export const setting = {
  menubar: false,
  toolbar: "undo redo | fullscreen | formatselect alignleft aligncenter alignright alignjustify | link unlink | numlist bullist | image media table | fontselect fontsizeselect forecolor backcolor | bold italic underline strikethrough | indent outdent | superscript subscript | removeformat |",
  toolbar_drawer: "sliding",
  quickbars_selection_toolbar: "removeformat | bold italic underline strikethrough | fontsizeselect forecolor backcolor",
  plugins: "link image media table lists fullscreen quickbars",
  language: 'zh_CN',
  height: 350
}